/**
 * 登录后不允许再进入登录页面
 */
 export default function ({ store, redirect }) {
  // If the user is not authenticated
  if (store.state.user.user) {
    return redirect('/')
  }
}